package com.intelligent.ispc.core.dto;

import com.google.common.collect.Lists;
import com.intelligent.ispc.common.dto.AbstractValueObject;
import com.intelligent.ispc.core.entity.DUTAttribute;
import com.intelligent.ispc.core.entity.TestItem;

import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * Created by julia on 16/5/31.
 */
public class GRRTestDataDto extends AbstractValueObject {
    private String id;
    private String projectId;
    private String grrName;
    private Date grrStartTime;
    private Date grrEndTime;
    private Boolean isDelete;
    private Map<String, Object> testData =  new HashMap<>();
    private List<TestItem> testItems = Lists.newArrayList();
    private List<DUTAttribute> dutAttributes = Lists.newArrayList();

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getProjectId() {
        return projectId;
    }

    public void setProjectId(String projectId) {
        this.projectId = projectId;
    }

    public String getGrrName() {
        return grrName;
    }

    public void setGrrName(String grrName) {
        this.grrName = grrName;
    }

    public Map<String, Object> getTestData() {
        return testData;
    }

    public void setTestData(Map<String, Object> testData) {
        this.testData = testData;
    }

    public List<TestItem> getTestItems() {
        return testItems;
    }

    public void setTestItems(List<TestItem> testItems) {
        this.testItems = testItems;
    }

    public List<DUTAttribute> getDutAttributes() {
        return dutAttributes;
    }

    public void setDutAttributes(List<DUTAttribute> dutAttributes) {
        this.dutAttributes = dutAttributes;
    }

    public Date getGrrStartTime() {
        return grrStartTime;
    }

    public void setGrrStartTime(Date grrStartTime) {
        this.grrStartTime = grrStartTime;
    }

    public Date getGrrEndTime() {
        return grrEndTime;
    }

    public void setGrrEndTime(Date grrEndTime) {
        this.grrEndTime = grrEndTime;
    }

    public Boolean getDelete() {
        return isDelete;
    }

    public void setDelete(Boolean delete) {
        isDelete = delete;
    }
}
